import React from 'react'
import styled from 'styled-components'
import { TouchableOpacity } from 'react-native-gesture-handler'

export default class Login extends React.Component {
  static navigationOptions = {
    header: null
    // title: 'login'
  }
  render() {
    return (
      <Container>
        <TouchableOpacity
          onPress={() => this.props.navigation.navigate('Home')}
        >
          <Text>Login</Text>
        </TouchableOpacity>
      </Container>
    )
  }
}

const Container = styled.View`
  flex: 1;
  justify-content: center;
  align-items: center;
`
const Text = styled.Text``
